/*
 ============================================================================
 Name		: fReaderAppUi.h
 Author	  : wangchao
 Copyright   : Your copyright notice
 Description : Declares UI class for application.
 ============================================================================
 */

#ifndef __FREADERAPPUI_h__
#define __FREADERAPPUI_h__

// INCLUDES
#include <aknappui.h>

// FORWARD DECLARATIONS
class CfReaderAppView;

// CLASS DECLARATION
/**
 * CfReaderAppUi application UI class.
 * Interacts with the user through the UI and request message processing
 * from the handler class
 */
class CfReaderAppUi : public CAknAppUi
{
public:
    // Constructors and destructor

    /**
     * ConstructL.
     * 2nd phase constructor.
     */
    void ConstructL( );

    /**
     * CfReaderAppUi.
     * C++ default constructor. This needs to be public due to
     * the way the framework constructs the AppUi
     */
    CfReaderAppUi( );

    /**
     * ~CfReaderAppUi.
     * Virtual Destructor.
     */
    virtual ~CfReaderAppUi( );

private:
    // Functions from base classes
    TKeyResponse HandleKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
    /**
     * From CEikAppUi, HandleCommandL.
     * Takes care of command handling.
     * @param aCommand Command to be handled.
     */
    void HandleCommandL( TInt aCommand );

    /**
     *  HandleStatusPaneSizeChange.
     *  Called by the framework when the application status pane
     *  size is changed.
     */
    void HandleStatusPaneSizeChange( );
private:
    // Data

    /**
     * The application view
     * Owned by CfReaderAppUi
     */
    CfReaderAppView* iAppView;
    
};

#endif // __FREADERAPPUI_h__
// End of File
